import { Proxy, decorators } from 'cfw';
const { singleton } = decorators;

@singleton
export class LogProxy extends Proxy {

    declare public static readonly instance: LogProxy;
    private constructor() { super(); }

    public static readonly PRINT_POW10: boolean = false;
    public static readonly PRINT_TRANS: boolean = false;
    public static readonly PRINT_LOAD_TASK: boolean = false;
    public static readonly PRINT_VISIT: boolean = false;
}

export const log = LogProxy.instance;